<?php

namespace DebugComponent;

/**
 * Interface for message filter
 */
interface IFilter {
    /**
     * Messages which should be filtered out this method must return false otherwise true
     *
     * @param IMessage $message instance of message
     * @return bool
     */
    public function filter(IMessage $message);
}